package cn.itcast.nems.employee.dao.entity;

import cn.itcast.nems.common.entity.UUIDEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

/**
 * <p>
 * 内部员工
 * </p>
 *
 * @author zhouwei
 * @since 2023/11/7 2:04 PM
 **/
@Getter
@Setter
@TableName("e2_employee")
public class Employee extends UUIDEntity {
    private String name ;
    private String email ;
    private String jobNumber ;
    /**
     * 部门ID
     */
    private String departmentId;

    /**
     * 部门名称
     */
    private String departmentName;
    /**
     * 人员状态(state：1在职、2离职)
     */
    private Integer status;

    /**
     * 离职时间
     */
    private LocalDateTime resignTime ;
}
